/*
 * COMP 354 Project - Team 6
 */

public class Task {
	private String id;
	private String title;
	private String description;
	private double duration;
	private String deliverable;
	private String deadline;
	private String person;

	public Task(String id, String title, String description, double duration,
			String deliverable, String deadline, String person) {
		this.id = id;
		this.title = title;
		this.description = description;
		this.duration = duration;
		this.deliverable = deliverable;
		this.deadline = deadline;
		this.person = person;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public double getDuration() {
		return duration;
	}

	public void setDuration(double duration) {
		this.duration = duration;
	}

	public String getDeliverable() {
		return deliverable;
	}

	public void setDeliverable(String deliverable) {
		this.deliverable = deliverable;
	}

	public String getDeadline() {
		return deadline;
	}

	public void setDeadline(String deadline) {
		this.deadline = deadline;
	}

	public String getPerson() {
		return person;
	}

	public void setPerson(String person) {
		this.person = person;
	}

	public String toString() {
		return this.title + ": " + this.description + "\n Assigned to: "
				+ this.person;
	}
}
